package com.briup.pts.service;

import com.briup.pts.domain.bean.IndexRecord;
import com.github.pagehelper.PageInfo;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;

import java.util.List;

/**
 * @author 25095
 * @description
 * @data 2024/11/27-20:23
 */
public interface IndexRecordService {
    PageInfo<IndexRecord> pageQueryByCondition(Integer pageNum,Integer pageSize,
                                               Integer startWeight,Integer endWeight);

    void saveIndexRecord(IndexRecord indexRecord);


    void deleteById(Integer irdId);

    void deleteByIdAll(@NotNull(message = "id必须存在") @Min(value = 1L, message = "id必须有效")List<Integer> ids);
}
